#define _CRT_SECURE_NO_WARNINGS

#include<stdio.h>
int main()
{
    int i = 0;
    int j = 0;
    for (i = 7; i >0; i--)
    {
        for (j = 1; j <= 7 - i; j++)
            printf(" ");
        for (j = 1; j <= i; j++)
            printf("*");
        printf("\n");
    }
    return 0;
}


